package com.wondersgroup.restbase.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
@Embeddable
public class CreateDateTime {
	@Column(name = "create_date", updatable = false)
	@Temporal(TemporalType.TIMESTAMP)
	private Date createdAt;
    
	public CreateDateTime() {
	}

	public CreateDateTime(Date createdAt) {
		this.createdAt = createdAt;
	}

	public Date getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	
}
